package com.ys.otms.dto;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

@Data
@ToString
@NoArgsConstructor
public class TransportPlanShipScheduleDto {
    private String planId;
    private Integer shipId;
    private String push;
    private String cost;
    private String dispatcher;

    private Integer sailingScheduleId;
    private String arrivedOriginalTime;
    private String startLoadTime;
    private String endLoadTime;
    private String arrivedDestinationTime;
    private String startUploadTime;
    private String endUploadTime;
    private String szTonnage;
    private String ssTonnage;


    private String shipName;
    private String shipOwnerName;
    private String phoneNum;
    private String mmsi;
    private String tonnage;
    private String lon;
    private String gLon;
    private String lat;
    private String gLat;
    private String lastTime;
    private String cityName;

    public TransportPlanShipScheduleDto(Integer sailingScheduleId) {
        this.sailingScheduleId = sailingScheduleId;
    }

    public TransportPlanShipScheduleDto(String planId, Integer shipId) {
        this.planId = planId;
        this.shipId = shipId;
    }

    public TransportPlanShipScheduleDto(String planId, Integer shipId, String push,String dispatcher) {
        this.planId = planId;
        this.shipId = shipId;
        this.push = push;
        this.dispatcher = dispatcher;
    }

    public TransportPlanShipScheduleDto(Integer sailingScheduleId, String arrivedOriginalTime, String startLoadTime, String endLoadTime, String arrivedDestinationTime,
                                        String startUploadTime, String endUploadTime,String szTonnage, String ssTonnage) {
        this.sailingScheduleId = sailingScheduleId;
        this.arrivedOriginalTime = arrivedOriginalTime;
        this.startLoadTime = startLoadTime;
        this.endLoadTime = endLoadTime;
        this.arrivedDestinationTime = arrivedDestinationTime;
        this.startUploadTime = startUploadTime;
        this.endUploadTime = endUploadTime;
        this.szTonnage = szTonnage;
        this.ssTonnage = ssTonnage;
    }
}
